// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './vuex/store';
import "./css/base.css";
import 'swiper/dist/css/swiper.min.css';
import VueLazyload from 'vue-lazyload';

import vueSwiper from 'vue-awesome-swiper';

Vue.use(vueSwiper);

// Vue.use(VueLazyload)
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: require('./images/a26.png'),
  loading: require('./images/a26.png'),
  attempt: 1
})

axios.defaults.baseURL = "http://10.11.14.154:3000/";
axios.defaults.withCredentials = true;

Vue.config.productionTip = false

/* eslint-disable no-new */
var vm = new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>'
})
